package com.damai.timetask;

import javax.annotation.Resource;

import com.damai.service.DamaiService;
import com.damai.thread.DamaiRegisterThread;

public class DamaiRegisterTask {
	@Resource(name = "damaiService")
	private DamaiService damaiService;

	public void beginTask() {
		DamaiRegisterThread damaiRegisterThread = new DamaiRegisterThread(
				damaiService);
		damaiRegisterThread.start();
	}
}
